﻿namespace StringsAndTextProcessing
{
    using System;

    class CharsToLiterals
    {
        // 1.2.13.10. Write a program that converts a string to a sequence of C# Unicode character literals.
        // Use format strings. Sample input:
        // Hi!
        // Expected output:
        // \u0048\u0069\u0021

        static void Main()
        {
            string input = Console.ReadLine();

            foreach (var symbol in input)
            {
                Console.Write("\\u{0:X4}", (int)symbol);
            }
        }
    }
}